import  requests   #爬取图
import time
import re
import uuid

# url = 'https://gank.io/images/dc75cbde1d98448183e2f9514b4d1320'
url_page = 'https://mm.enterdesk.com/'
ret = requests.get(url=url_page)
url_lst = re.findall(r'	https://up.enterdesk.com/edpic_360_360.*?\.jpg',ret.text)
for url in url_lst:
    res = requests.get(url=url)
    time.sleep(3)
    content = res.content
    name = str(uuid.uuid1())+'.jpg'
    with open(name,'wb')as f:
        print('正在下载%s'%name)
        f.write(content)
